With which command can you know in Minecraft that someone is standing on a certain block?

wa
1

With which command can you know in Minecraft that someone is standing on a certain block?

Po

/ execute as @a at @s if block ~ ~ -1 ~ minecraft: gold_block run DeinCommand