{"id":58526,"library":"sp-block-builder","title":"Sp Block Builder","description":"The block builder runtime API for Substrate-based blockchains.","status":"active","version":"40.0.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/polkadot-sdk","tags":["substrate","blockchain","runtime","polkadot"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsp-block-builder = \"40.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sp-block-builder","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"BlockBuilder","correct":"use sp_block_builder;"}],"quickstart":{"code":"use sp_block_builder::BlockBuilder;\n\nfn main() {\n    // This is a runtime API trait, typically used in Substrate runtime development.\n    println!(\"BlockBuilder trait available\");\n}","lang":"rust","description":"Provides the runtime API for building blocks in Substrate-based chains."},"warnings":[{"fix":"Use within a Substrate runtime project with appropriate dependencies.","message":"Part of the Substrate/Polkadot SDK; requires specific runtime environment.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'api':8 'base':12 'block':2,5 'blockchain':13,15 'builder':3,6 'polkadot':17 'runtim':7,16 'sp':1 'substrat':11,14 'substrate-bas':10","created_at":"2026-06-16T16:27:06.588530+00:00","updated_at":"2026-06-16T16:27:06.588530+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://paritytech.github.io/polkadot-sdk/","github":"https://github.com/paritytech/polkadot-sdk","docs":"https://docs.rs/sp-block-builder/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}